﻿<form class="form-horizontal" role="form" name="editForm" ng-show="isVisible" ng-controller="editCtrl">
    <div class="form-group" ng-if="item.Id">
        <label for="id" class="col-sm-1 control-label">Id</label>
        <div class="col-sm-4">
            <div class="form-control-static">{{item.Id}}</div>
        </div>
    </div>
    <div class="form-group" ng-if="item.Ticket">
        <label for="Ticket" class="col-sm-1 control-label">Ticket</label>
        <div class="col-sm-4">
            <div class="form-control-static">{{item.Ticket}}</div>            
        </div>
    </div>
    <div class="form-group">
        <label for="name" class="col-sm-1 control-label">Date</label>
        <div class="col-sm-4">
            <div class="form-control-static">{{item.Date | date:'yyyy-MM-dd HH:mm:ss'}}</div>                        
        </div>
    </div>
    <div class="form-group">
        <label for="name" class="col-sm-1 control-label">Level</label>
        <div class="col-sm-4">
            <div class="form-control-static">{{item.Level}}</div>                                    
        </div>
    </div>
    <div class="form-group">
        <label for="name" class="col-sm-1 control-label">Message</label>
        <div class="col-sm-4">
            <div class="form-control-static">{{item.Message}}</div>                                                
        </div>
    </div>
    <div class="form-group">
        <label for="name" class="col-sm-1 control-label">Exception</label>
        <div class="col-sm-11">
            <div class="form-control-static">{{item.Exception}}</div>                                                            
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-1 col-sm-4">           
            <button type="submit" class="btn btn-default" ng-click="cancel()">Cancel</button>
        </div>
    </div>
</form>